<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- 短信充值 -->
<div id="rechargeDialog" style="display: none;">
    <form class="layui-form p20" method="post" action="">
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 50px">数量<span class="f-verify-red">*</span></label>
            <div class="layui-input-block" style="margin-left: 90px">
                <input type="number" min="1" name="quantity" autocomplete="off" placeholder="短信充值数量" class="layui-input" />
                <input type="hidden" name="memberId" value="${member.id}" />
                <input type="hidden" name="type" value="PUSH_SMS" />
            </div>
        </div>
    </form>
</div>
<!-- 短信配置 -->
<div id="settingsDialog" style="display: none;">
    <form class="layui-form p20" method="post" action="">
        <input type="hidden" name="memberId" value="${member.id}" />
        <input type="hidden" name="type" value="PUSH_SMS" />
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 80px">开关控制<span class="f-verify-red">*</span></label>
            <div class="layui-input-block">
                <input type="radio" name="isOpen" title="开" value="1"/>
                <input type="radio" name="isOpen" title="关" value="2"/>
            </div>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux" style="color: #e8473f!important;">开关打开后部分短信开始收费</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 80px">允许超出<span class="f-verify-red">*</span></label>
            <div class="layui-input-block">
                <input type="radio" name="isAllowExcess" title="开" value="1"/>
                <input type="radio" name="isAllowExcess" title="关" value="2"/>
            </div>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux" style="color: #e8473f!important;">开关打开后，若该机构短信数量不足时，系统推送短信可以超出发送</div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label" style="width: 80px">预警数量<span class="f-verify-red">*</span></label>
                <div class="layui-input-inline">
                    <input type="number" min="1" max="100" name="warnNum" autocomplete="off" placeholder="百分比" class="layui-input"/>
                </div>
                <div class="layui-form-mid layui-word-aux">%</div>
            </div>
        </div>
        <%--<div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label" style="width: 80px">超出数量<span class="f-verify-red">*</span></label>
                <div class="layui-input-inline">
                    <input type="number" min="1" name="excessNum" autocomplete="off" placeholder="具体数字" class="layui-input"/>
                </div>
                <div class="layui-form-mid layui-word-aux">条</div>
            </div>
        </div>--%>
    </form>
</div>